<div ng-controller="ReservationCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li><a href="">{{'预约'| translate}}</a></li>
        <li class="active">
            预约单
            <!--  <a href="#/reservation/add" id="addNew" class="sui-btn btn-primary">+{{'add_new' | translate}}</a> -->
        </li>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'#'|translate}}</th>
                <th>{{'顾客微信'|translate}}</th>
                <th>{{'预约序号'|translate}}</th>
                <th>{{'created_at'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="(ke,list) in reservations">
                <td>{{ke+1}}</td>
                <td>
                    <wxinfo ng-model="list.member_open_id" type="1" ></wxinfo>
                </td>
                <td>{{list.order_seq}}</td>
                <td>{{list.created_at}}</td>
                <td>
                    <a href="#/reservation/info?reservation_id={{list.reservation_id}}" class="sui-btn btn-primary">{{'详情'|translate}}</a>
                </td>
            </tr>
        </tbody>
    </table>
    <pager page-no="1" page-size="pageSize" total="storeTotal" get-data="getlist(pageNo)"></pager>
</div>